package org.jeecg.common.modules.withdraw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: withdraw_record
 * @Author: jeecg-boot
 * @Date:   2020-08-22
 * @Version: V1.0
 */
@Data
@TableName("withdraw_record")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="withdraw_record对象", description="withdraw_record")
public class WithdrawRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**医生ID*/
	@Excel(name = "医生ID", width = 15)
    @ApiModelProperty(value = "医生ID")
    private String doctorId;
	/**流水ID*/
	@Excel(name = "流水ID", width = 15)
    @ApiModelProperty(value = "流水ID")
    private String doctorAccountFlowId;
	/**提现金额*/
	@Excel(name = "提现金额", width = 15)
    @ApiModelProperty(value = "提现金额")
    private BigDecimal amount;

    /**开户行信息*/
    @Excel(name = "开户行信息", width = 15)
    @ApiModelProperty(value = "开户行信息")
    private String bankName;
    /**开户名*/
    @Excel(name = "开户名", width = 15)
    @ApiModelProperty(value = "开户名")
    private String accountName;
    /**卡号*/
    @Excel(name = "卡号", width = 15)
    @ApiModelProperty(value = "卡号")
    private String accountNo;

	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**状态  0 申请中  1 已审批  2 已拒绝*/
	@Excel(name = "状态  0 申请中  1 已审批  2 已拒绝", width = 15)
    @ApiModelProperty(value = "状态  0 申请中  1 已审批  2 已拒绝")
    private Integer status;

	@ApiModelProperty(value = "拒绝原因")
	private String reason;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;

    @ApiModelProperty(value = "修改人")
	private String updateBy;

    @ApiModelProperty(value = "税率")
    private BigDecimal taxRatio;

    @ApiModelProperty(value = "税费")
    private BigDecimal taxFee;

    @ApiModelProperty(value = "实际到账金额")
    private BigDecimal receipt;
}
